# Copyright 2017 The Crashpad Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# See https://luci-config.appspot.com/schemas/projects/refs:cq.cfg for the
# documentation of this file format.

version: 1
cq_name: "crashpad"
cq_status_url: "https://chromium-cq-status.appspot.com"

# This is required for gerrit projects.
git_repo_url: "https://chromium.googlesource.com/crashpad/crashpad"

# Crashpad uses gerrit with no special options.
gerrit {}

verifiers {
  gerrit_cq_ability {
    committer_list: "project-crashpad-tryjob-access"
    dry_run_access_list: "project-crashpad-tryjob-access"
  }
  try_job {
    buckets {
      name: "master.client.crashpad"
      builders { name: "crashpad_try_mac_dbg" }
      builders { name: "crashpad_try_mac_rel" }
      builders { name: "crashpad_try_win_x64_dbg" }
      builders { name: "crashpad_try_win_x64_rel" }
      # crbug.com/743139 - disabled until we can move these to
      # swarming, at which point we can just remove them.
      #builders { name: "crashpad_try_win_x86_dbg" }
      #builders { name: "crashpad_try_win_x86_rel" }
      builders { name: "crashpad_try_win_x86_wow64_dbg" }
      builders { name: "crashpad_try_win_x86_wow64_rel" }
    }
  }
}
